#ifndef OBCOINUP_H
#define OBCOINUP_H

#include "ObDynamic.h"
#include "d3dx9.h"

class ObCoinUp : public ObDynamic{
public:
	ObCoinUp(IDirect3DTexture9* mtex, float px, float py, float vx, float vy, float time);

	void update(float dt);
	void render(ID3DXSprite* mSprite);
	void clear();
private:

	IDirect3DTexture9*	mTex;
	float				mTime;
	int					mCurrentSprite;
};

#endif